#ifndef CFGSRV_DLG_H
#define CFGSRV_DLG_H

#include <QDialog>
#include "com/global.h"
#include "com/log.h"
namespace Ui {
class srvCfg_Dlg;
}

class srvCfg_Dlg : public QDialog
{
    Q_OBJECT

public:
    explicit srvCfg_Dlg(QWidget *parent = 0);
    ~srvCfg_Dlg();
    static srvCfg_Dlg* instance(){
        if(!_ins){
            _ins = new srvCfg_Dlg(nullptr);
        }
        return _ins;
    }
    void srvCfg_loadCfg();

private slots:
    void on_srvCfg_OK_pBt_clicked();

    void on_srvCfg_cancel_pBt_clicked();

private:
    Ui::srvCfg_Dlg *ui;
    static srvCfg_Dlg*  _ins;
};

#endif // CFGSRV_DLG_H
